body > .modal {
    height: var(--main-height);
    width: var(--main-width);

    position: absolute;
    top: 0;
    z-index: 100;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: transform 150ms linear;

    box-sizing: border-box;

    backdrop-filter: blur(30px) brightness(115%);
}

body > .modal.infos {
    left: calc(var(--main-width) * -1);
}
body > .modal.infos.show {
    transform: translateX(calc(var(--main-width) * 1));
}

body > .modal.infos > div {
    width: 80%;
    height: fit-content;

    
    padding: 97px 0;
    border: 2px solid #5E7C92;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: white;
}

body > .modal.infos > div p {
    font-family: 'Josefin Sans';
    font-size: 25px;
    font-weight: normal;
}

body > .modal.infos > div p em {
    text-emphasis: none;
    font-style: normal;
    font-weight: 600;
}

body > .modal.infos > div p:nth-child(2n) {
    margin-top: 16px;
}

body > .modal.infos > div p:nth-child(3) {
    margin-top: 45px;
}

body > .modal.infos > div p:last-child {
    margin-top: 88px;
    font-family: 'Josefin Sans';
    font-size: 67px;
    font-weight: 300;
}

body > .modal.pdf {
    left: calc(var(--main-width) * -1);
    --container-width: 100%;
    /* background-image: url('../img/flou.png'); */
    background-position: center;
    background-size: cover;
    transition-duration: 90ms;
}

body > .modal.pdf .media-container,
body > .modal.pdf .media-loader {
    background-color: white;
}

body > .modal.pdf .media-title {
    justify-content: center;
}

body > .modal.pdf.show {
    transform: translateX(calc(var(--main-width) * 1));
}

body > .modal > img:first-child {
    margin: 0 0 30px 0;
    cursor: pointer;
    height: 60px;
    padding: 10px;
}